package com.htu.service.impl;

import com.htu.dao.IAdminDao;
import com.htu.domain.Admin;
import com.htu.service.IAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements IAdminService
{
    @Autowired
    private IAdminDao dao;

    @Override
    public Admin doAdminLogin(String id, String password)
    {
        return dao.queryAdmin(id,password);
    }
}
